package com.boarsoft.flow.core.bean;

public class ProcessNode extends WrappedNode {
	/** 必需项 */
	protected String next;
	/** 必需项 */
	protected ProcessHandler handler;
	/** 传递给handler的参数，以实现Handler的复用，减少Handler的数量 */
	protected String entry;

	public int getType() {
		return BaseNode.TYPE_PROCESS;
	}

	public String getEntry() {
		return entry;
	}

	public void setEntry(String entry) {
		this.entry = entry;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}

	public ProcessHandler getHandler() {
		return handler;
	}

	public void setHandler(ProcessHandler handler) {
		this.handler = handler;
	}
}
